﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace AnesSystem.Controls
{
    /// <summary>
    /// 下拉框的数组内容为无和有
    /// </summary>
    public partial class CustomComJinShenShenJiCtrl : BaseDropDownCtrl
    {
        public CustomComJinShenShenJiCtrl()
        {
            InitializeComponent();
            InitialJinShenXiTong();
            TextAlignment = TextAlignment.Left;
        }
        public TextAlignment TextAlignment
        {
            get { return _jssjCmp._txtName._txt.TextAlignment; }
            set { _jssjCmp._txtName._txt.TextAlignment = value; }
        }
        private void InitialJinShenXiTong()
        {
            List<CommonComboboxItemModel> list = new List<CommonComboboxItemModel>()
            {
                     new CommonComboboxItemModel() { Behind="",Display=""},
                new CommonComboboxItemModel() { Behind="-1",Display="无特殊"},
                 new CommonComboboxItemModel() { Behind="意识模糊",Display="意识模糊"},
                new CommonComboboxItemModel() { Behind="意识模糊",Display="意识淡漠"},
                new CommonComboboxItemModel() { Behind="谵妄",Display="谵妄"},
                new CommonComboboxItemModel() { Behind="截瘫",Display="截瘫"},
                new CommonComboboxItemModel() { Behind="偏瘫",Display="偏瘫"},
                new CommonComboboxItemModel() { Behind="躁动",Display="躁动"},

            };
            this._jssjCmp.ItemsSource = list;

        }

    }
}
